package com.yunji.storage.service;

import com.yunji.storage.bo.RepairRemoveBO;
import com.yunji.storage.bo.RepairSelectQueryBO;
import com.yunji.storage.bo.StorageUpdateAuditBO;
import com.yunji.storage.domain.RepairTicketDO;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.service
 * @Title: IRepairTicketService
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-27 19:55:14      V1.0        HuaAo       新建类
 */

public interface IRepairTicketService {

    boolean deleteByTicket(RepairRemoveBO bo);

    boolean create(RepairTicketDO repairTicket);

    RepairTicketDO select(Long repairId);

    RepairTicketDO select(RepairSelectQueryBO bo);

    boolean update(RepairTicketDO repairTicket);

    boolean deleteDraft(Long... repairIds);

    // 设置字段为null
    void resetAuditStatus(Long repairId);

    boolean updateAuditStatus(StorageUpdateAuditBO auditBO);
}